/**************************************************
 * Project Name         [JavaEE_XML]
 * File Name            [Student.java]
 * Creation Date        [08-15-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 **************************************************/
package pkg_exam.bean;

/**
 * 考试系统 - 考生
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public class Student {

	private String id;
	private String name;
	private String examId;
	private String location;
	private double score;

	public Student() {
		super();
	}

	public Student(String id, String name, String examId, String location,
			double score) {
		super();
		this.id = id;
		this.name = name;
		this.examId = examId;
		this.location = location;
		this.score = score;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getExamId() {
		return examId;
	}

	public void setExamId(String examId) {
		this.examId = examId;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", examId=" + examId
				+ ", location=" + location + ", score=" + score + "]";
	}

}
